home *** CD-ROM | disk | FTP | other *** search
/ Gold Medal Software 1 / Gold Medal Software Volume 1 (Gold Medal) (1994).iso / graphics / povsrc20.arj / MACHINE / UNIX / UNIX.MAK < prev    next >
Makefile  |  1993-08-19  |  1KB  |  45 lines

  1. # Makefile for Persistence of Vision Raytracer
  2. # This file is released to the public domain.
  3. #
  4. #
  5. # MAKE Macros and Such...
  6. #
  7.  
  8. #***************************************************************
  9. #*
  10. #*                      UNIX Makefile
  11. #*
  12. #***************************************************************
  13.  
  14. # The exact options may depend on your compiler.  Feel free to modify
  15. # these as required.
  16. # The cc compiler on a HP9000 likes the -Aa option for all files except unix.c
  17. # The gcc compiler is usually satisfied with these options.
  18.  
  19. OBJ    = o
  20. MACHINE_OBJ    = unix.$(OBJ)
  21. CFLAGS=        -c -O
  22. LFLAGS =    -o povray -O
  23. CC =            cc
  24.  
  25. # Make's implicit rules for making a .o file from a .c file...
  26. #
  27. .c.o :
  28.     $(CC) $(CFLAGS) $*.c
  29.  
  30.  
  31. POVOBJS = povray.$(OBJ) bezier.$(OBJ) blob.$(OBJ) bound.$(OBJ) boxes.$(OBJ)  \
  32.       camera.$(OBJ) colour.$(OBJ) cones.$(OBJ) csg.$(OBJ) discs.$(OBJ)   \
  33.       dump.$(OBJ) express.$(OBJ) gif.$(OBJ) gifdecod.$(OBJ)              \
  34.       hfield.$(OBJ) iff.$(OBJ) image.$(OBJ) lighting.$(OBJ)              \
  35.       matrices.$(OBJ) normal.$(OBJ) objects.$(OBJ) parse.$(OBJ)          \
  36.       pigment.$(OBJ) planes.$(OBJ) point.$(OBJ) poly.$(OBJ)              \
  37.       quadrics.$(OBJ) raw.$(OBJ) ray.$(OBJ) render.$(OBJ) spheres.$(OBJ) \
  38.       targa.$(OBJ) texture.$(OBJ) tokenize.$(OBJ) triangle.$(OBJ)        \
  39.       txttest.$(OBJ) vect.$(OBJ) $(MACHINE_OBJ)
  40.  
  41.  
  42. povray:    $(POVOBJS)
  43.     $(CC) $(LFLAGS) $(POVOBJS) -lm
  44.  
  45.